package com.jrh.domain.entity;

import java.util.List;

public class Feature {

    private long               id;
    private long               categoryId;
    private String             categoryName;

    private String             name;
    private String             code;
    private int                sort;
    private String             values;
    private String             vn;
    private long               vi;
    private List<FeatureValue> fvList;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getValues() {
        return values;
    }

    public void setValues(String values) {
        this.values = values;
    }

    public String getVn() {
        return vn;
    }

    public void setVn(String vn) {
        this.vn = vn;
    }

    public long getVi() {
        return vi;
    }

    public void setVi(long vi) {
        this.vi = vi;
    }

    public List<FeatureValue> getFvList() {
        return fvList;
    }

    public void setFvList(List<FeatureValue> fvList) {
        this.fvList = fvList;
    }

    @Override
    public String toString() {
        return "Feature [id=" + id + ", categoryId=" + categoryId + ", name=" + name + ", code=" + code + ", sort="
               + sort + "]";
    }

}
